package com.wolf.etl.service;

import com.wolf.etl.model.EtlInstanceModel;
import com.wolf.provider.order.info.PageBean;
import com.wolf.provider.order.service.BaseService;
import com.wolf.vo.PageResult;

import java.util.List;

/**
 * @author sdyang
 * @date 2019/11/18 15:32
 **/
public interface IEtlInstanceService extends BaseService<Long> {

    EtlInstanceModel findById(Long instance_id);

    EtlInstanceModel findInstance(Long task_id, String instance_code);

    void update(EtlInstanceModel model);

    List<EtlInstanceModel> findByTaskId(Long taskId);

    List<EtlInstanceModel> findByDefineId(Long define_id);

    List<EtlInstanceModel> findAll();

    PageResult<EtlInstanceModel> findByPage(EtlInstanceModel model, PageBean pageBean);
}
